<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script>
    
</script>
</head>
<body>
    <h1>reload test</h1>
    <h2>now : <span id="now"></span></h2>
   <script>
       //document.querySelector("#now").innerHTML = new Date();
       
       window.setInterval(function(){
           document.querySelector("#now").innerHTML = new Date();
           //location.href="02dom.html";
       }, 1000);
       
       for(var property in location){
           console.log(property +" , "+location[property]);
       }
       
       for(property in screen){
           console.log(property +" , "+screen[property]);
       }
       
   </script>
</body>
</html>